package com.example.generator.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "generator")
public class GeneratorConfig {
    private String basePackage = "com.example";
    private String author = "Generator";
    private String outputPath = "generated";
    private boolean lombokEnabled = true;
    private boolean swagger = false;
    private String testOutputPath = "src/test/java";

    public String getBasePackage() {
        return basePackage;
    }

    public String getTestOutputPath() {
        return testOutputPath;
    }

    public void setTestOutputPath(String testOutputPath) {
        this.testOutputPath = testOutputPath;
    }

    public void setBasePackage(String basePackage) {
        this.basePackage = basePackage;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getOutputPath() {
        return outputPath;
    }

    public void setOutputPath(String outputPath) {
        this.outputPath = outputPath;
    }

    public boolean isLombokEnabled() {
        return lombokEnabled;
    }

    public void setLombokEnabled(boolean lombokEnabled) {
        this.lombokEnabled = lombokEnabled;
    }

    public boolean isSwagger() {
        return swagger;
    }

    public void setSwagger(boolean swagger) {
        this.swagger = swagger;
    }
}
